package com.itheima.reggie.service;

import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.LoginDto;
import com.itheima.reggie.entity.User;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
   R login(HttpServletRequest request , LoginDto loginDto);

   R loginOut(HttpServletRequest request);

    User getById(Long userId);
}
